fileSystems.<name>.autoFormat

If the device does not currently contain a filesystem (as determined by blkid), then automatically format it with the filesystem type specified in fsType. Use with caution.

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/tasks/filesystems.nix>